import service from '/@/utils/request';

export const usePosRefundPageApi = (formData?: object) => {
    return service({
        url: `v0/pos/refund/page`,
        method: 'POST',
        data: formData
    });
}

export const usePosRefundQueryApi = (code: string,) => {
    return service({
        url: `v0/pos/refund/query`,
        method: 'GET',
        params: { code: code },
    });
}